package com.qtcm.nas.spc.yejitongji.service.impl;

import com.qtcm.nas.spc.yejitongji.dao.ImpOutStanDing_ADao;
import com.qtcm.nas.spc.pojo.Orders_Out;
import com.qtcm.nas.spc.pojo.Outstanding_Aem;
import com.qtcm.nas.spc.pojo.Package_details_Out;
import com.qtcm.nas.spc.pojo.Pre_sale_card_Out;
import com.qtcm.nas.spc.yejitongji.service.ImpOutStanDing_aService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description说明: TODO
 * @Date 2022/7/16 9:04
 * @PackageName:com.jzyh.spc.login.service
 * @ClassName: ImpUserService
 * @Author作者: Spc
 * @Version 1.0
 * @自己写的注释:
 */
@Service("outStanDing_aService")
public class OutStanDing_aService implements ImpOutStanDing_aService {
    @Autowired
    @Qualifier("outStanDing_ADao")
    private ImpOutStanDing_ADao outStanDing_ADao;

    @Override
    public List<Outstanding_Aem> findAll_OutStan() {
        return outStanDing_ADao.findAll_OutStan();
    }
//根据日期进行查询
    @Override
    public List<Outstanding_Aem> findDate_OutStan(String start, String end) {
        return outStanDing_ADao.findDate_OutStan(start, end);
    }

    //查询储值卡
    @Override
    public List<Pre_sale_card_Out> findChongZ() {
        return outStanDing_ADao.findChongZ();
    }

    //   查询年卡
    public List<Pre_sale_card_Out> findNianK() {
        return outStanDing_ADao.findNianK();
    }

    //    查询非会员
    public List<Orders_Out> findNoHuiY() {
        return outStanDing_ADao.findNoHuiY();
    }

    //    查询最后一单的支付方式
    public List<Orders_Out> findZhiFu() {
        return outStanDing_ADao.findZhiFu();
    }

    //    大礼包
    public List<Package_details_Out> findDaoliB() {
        return outStanDing_ADao.findDaoliB();
    }

    //    添加业绩
    public void addOutstan(Outstanding_Aem outstanding_Aem) {
        outStanDing_ADao.addOutstan(outstanding_Aem);
    }

    //    查询各种支付的方式
    public List<Outstanding_Aem> findWeixin() {
        return outStanDing_ADao.findWeixin();
    }
    public  List<Outstanding_Aem> findXianJin(){
        return outStanDing_ADao.findXianJin();
    }

    @Override
    public List<Outstanding_Aem> findShuaka() {
        return outStanDing_ADao.findShuaka();
    }

    @Override
    public List<Outstanding_Aem> findTiyanka() {
        return outStanDing_ADao.findTiyanka();
    }
    //    储值卡格式
    public int findDushi(){
        return outStanDing_ADao.findDushi();
    }
    public int findBaijin(){
        return outStanDing_ADao.findBaijin();
    }
    public int findHongzuan(){
        return outStanDing_ADao.findHongzuan();
    }
}
